<template>
  <banner-com :title="title" :banner-img="bannerImg" :detail="detail" />

  <div class="container con">
    <div class="w1300 form-wrap">
      <h1>表格填写申请</h1>
      <h2>单选标题</h2>
      <el-form>
        <div class="tip-tit flex-yc">
          <el-icon class="icon" size="13" color="#3AACE3"><Warning /></el-icon>
          提示类型
        </div>
        <el-form-item label="选择类型">
          <el-radio-group>
            <el-radio-button
              v-for="city in ['待选择类型', '选中']"
              :key="city"
              :label="city"
            >
              {{ city }}
            </el-radio-button>
          </el-radio-group>
        </el-form-item>

        <h3 class="flex-yc">类型标题</h3>
        <div class="tip-tit flex-yc">
          <el-icon><Warning /></el-icon>
          提示类型
        </div>
        <el-form-item label="个人上传照片:">
          <el-upload
            ref="uploadRef"
            class="upload-demo"
            action=""
            :auto-upload="false"
          >
            <template #trigger>
              <el-button type="primary">上传头像</el-button>
            </template>
          </el-upload>
        </el-form-item>
        <el-form-item label="昵称">
          <el-input></el-input>
        </el-form-item>
        <el-form-item label="昵称">
          <el-input></el-input>
        </el-form-item>

        <h3 class="flex-yc">类型标题</h3>
        <div class="tip-tit flex-yc">
          <el-icon><Warning /></el-icon>
          提示类型
        </div>
        <el-form-item label="个人上传照片:">
          <el-upload
            ref="uploadRef"
            class="upload-demo"
            action=""
            :auto-upload="false"
          >
            <template #trigger>
              <el-button type="primary">上传头像</el-button>
            </template>
          </el-upload>
        </el-form-item>
        <el-form-item label="昵称">
          <el-input></el-input>
        </el-form-item>
        <el-form-item label="昵称">
          <el-input></el-input>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script setup lang="ts">
import BannerCom from '@/components/BannerCom.vue'

const title = 'BioQ单细胞'
const bannerImg = 'square/app-market-banner.png'
const detail =
  '顾问团提供了丰富的经验,企业可根据凭证调用企业自身的员工、客户数据进行数据分析,同时可使用AI与企业内部系统进行数据互通。'
</script>

<style scoped lang="scss">
.con {
  padding: 16px 0;
  background-color: #f7f8fa;

  .form-wrap {
    padding: 40px 36px;
    background-color: #fff;

    h1 {
      margin-bottom: 28px;
      font-size: 20px;
      font-weight: bold;
      color: #021429;
    }

    h2 {
      height: 55px;
      padding: 0 24px;
      font-size: 16px;
      font-weight: bold;
      line-height: 55px;
      color: #021429;
      background: #f7f8fa;
    }

    .tip-tit {
      margin: 24px 0;
      font-size: 16px;
      color: #5f6085;

      :deep {
        .el-icon {
          margin-right: 8px;
          font-size: 13px;
          color: $primary;
        }
      }
    }

    h3 {
      position: relative;
      margin: 24px 0;
      font-size: 16px;
      font-weight: 500;
      color: #021429;

      &::before {
        display: block;
        width: 10px;
        height: 10px;
        margin-right: 8px;
        content: '';
        background-color: $primary;
        border-radius: 50%;
      }
    }

    :deep {
      .el-input,
      .el-input__wrapper,
      .el-input__inner {
        width: 437px;
        height: 36px;
      }
    }
  }
}
</style>
